package com.community.dao;

import com.community.pojo.Remind;
import com.community.vo.RemindMessage;

import java.util.List;
import java.util.Map;

public interface RemindMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Remind record);

    int insertSelective(Remind record);

    Remind selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Remind record);

    int updateByPrimaryKey(Remind record);


    List<RemindMessage> selectByParam(Map paramMap);

    /**
     * 设置事件为失效状态
     * @return
     */
    int updateByParam(Map paramMap);

}